Skip to content

Test delayed entity dispatch through the current Spigot backend - #127

Draft
BenCodez wants to merge 1 commit into
mainfrom
test/delayed-entity-contract
Draft

BenCodez wants to merge 1 commit into
mainfrom
test/delayed-entity-contract

Conversation

@BenCodez

Copy link
Copy Markdown
Owner

Add one deterministic contract test for the existing delayed-entity facade using the actual FoliaLib 0.5.1 Spigot backend. A valid non-player entity with a two-second delay must enqueue exactly once at 40 ticks, avoid inline execution, and invoke the captured callback once without requeue.

This is fresh coverage for the current backend after the dependency upgrade. The deliberately removed seven-test suite stays deleted. Production code, dependency versions and public APIs are unchanged.

Validation on de7ae648d4963b0b6a0f9831b7c824e99169c93d:

  • Focused test: 1 passed. A temporary opposing overload-cycle mutation failed at a fixed 33-entry bound; the test source was restored byte-for-byte before the final package build.
  • JDK 21 offline Maven package: 468 ordinary tests, zero failures/errors, one optional MQTT skip; three full-artifact checks and one shared-artifact check passed.
  • Full/shared/shared-sources inspected; test classes are absent, and shared artifacts exclude scheduler/platform packages. Shared loader linked 60 neutral classes. Diff whitespace checks passed.
  • Independent read-only review approved the exact test tree and checked the real backend delegation and bounded negative-control evidence.

No live server or native Folia acceptance is claimed. This test-only draft is separate from YAML API and metrics lifecycle changes.

@coderabbitai

coderabbitai Bot commented Nov 20, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: a9a71b7d-200b-49f9-ba5d-d0f366b5b9dd
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant